"""美化allure标题"""
import allure


def allure_handle(dictname):
    if dictname["feature"] is not None:
        allure.dynamic.feature(dictname["feature"])
    if dictname["story"] is not None:
        allure.dynamic.story(dictname["story"])
    if dictname["title"] is not None:
        allure.dynamic.title(dictname["title"])